body,
html {
    width: 100%;
    height: 100%;
    background: #f6f6f6;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

/* 清浮动 */
.clearfix::after {
    display: block;
    content: '';
    clear: both;
    height: 0;
}

.clearfix {
    zoom: 1;
}

.min {
    min-width: 1200px;
}

.container {
    width: 1200px;
    margin: 0 auto;
}


//头
#header {
    width: 100%;
    height: 160px;
    background: #fff;

    //logo
    .logoBox {

        margin-left: 20px;
        margin-top: 40px;
        margin-right: 20px;

        a {
            img {
                width: 75px;
                height: 75px;
                margin-right: 20px;
            }
        }

        .logoText {
            margin-top: 5px;
            text-align: center;

            h3 {
                font-size: 28px;
                font-weight: 600;
                line-height: 40px;
                color: #43240c;
            }

            span {
                font-size: 12px;
                line-height: 17px;
                color: #43240c;
            }
        }
    }

    // 搜索框
    .SearchBox {
        width: 530px;
        height: 48px;
        float: left;
        position: relative;
        border-radius: 34px;
        box-shadow: inset 0 0 0 2px #43240c;
        margin-top: 50px;
        margin-left: 60px;
        margin-right: 50px;

        span {
            font-size: 30px;
            position: absolute;
            top: 8px;
            left: 5px;
        }

        input {
            top: 3px;
            left: 47px;
            width: calc(100% - 177px);
            font-size: 16px;
            line-height: 40px;
            color: #43200c;
            position: absolute;
            border: none;
            outline: none;
        }

        .search {
            cursor: pointer;
            position: absolute;
            top: 4px;
            right: 5px;
            width: 124px;
            font-size: 14px;
            font-weight: 500;
            line-height: 40px;
            text-align: center;
            color: #43200c;
            background-color: #fee44e;
            border-radius: 34px;
        }
    }

    //右图标
    .guarantee {
        margin-top: 40px;

        img {
            width: 40px;
            height: 40px;
            color: red;
        }

        p {
            font-size: 12px;
            margin-top: 10px;
        }

        li {
            float: left;
            margin-right: 20px;
        }

    }


}

//导航
#navCarousel {
    .nav {
        width: 100%;
        height: 46px;
        background-color: #43240c;

        li {
            float: left;
            text-align: center;
            line-height: 46px;
            color: #fff;
        }

        .nav-index {
            width: 220px;
            background: #fee44e;
        }
    }
}

//页脚
#footer {
    width: 100%;
    height: 200px;
    background: rgb(53, 50, 50);
    padding-top: 40px;

    .container {
        .left {
            img {
                float: left;
                width: 112px;
                height: 112px;
                margin: 0 19px 0 40px;
                margin-right: 19px;
            }

            .title {
                text-align: center;

                h1 {
                    font-size: 36px;
                    font-weight: 600;
                    color: #fff;
                    margin-bottom: 8px;
                    width: 144px;
                    height: 48px;
                }

                p {
                    font-size: 18px;
                    font-weight: 500;
                    line-height: 25px;
                    color: #fff;
                }
            }


        }
    }

    .minddle {
        font-size: 20px;
        margin-left: 250px;
        margin-top: 50px;

        span {
            margin: 0 8px;
            font-size: 20px;
            color: #fff;
        }

        a {
            color: #fff;
            text-decoration: none;
            font-size: 20px;

            &:hover {
                color: crimson;
            }
        }
    }

    .bottom {
        width: 100%;
        height: 40px;
        background: rgb(53, 50, 50);
        color: #fff;
        text-align: center;
        margin-top: 50px;

        span,
        a {
            margin: 0 8px;
            font-size: 20px;
            color: #fff;
        }

        img {
            width: 22px;
            height: 22px;
            margin-top: 5px;
            vertical-align: -5px;
        }

        p {
            display: inline-block;
        }
    }
}

//详情信息
#detail {
    margin-bottom: 10px;

    .top {
        background: #fff;
        margin-top: 10px;
        margin-bottom: 10px;
        padding-bottom: 10px;

        .g-left {
            .m-show {
                position: relative;


                img {
                    width: 350px;
                    height: 350px;
                    margin-bottom: 10px;
                }

                .imgBox {
                    width: 350px;
                    height: 350px;
                    margin-bottom: 8px;
                }

                .block {
                    width: 150px;
                    height: 150px;
                    background: rgba(168, 168, 168, 0.5);
                    position: absolute;
                    display: none;
                    pointer-events: none;

                }

                .big {
                    width: 420px;
                    height: 420px;
                    background: #555;
                    position: absolute;
                    top: 0px;
                    left: 400px;
                    z-index: 1;
                    overflow: hidden;
                    display: none;

                    .right-img {
                        position: absolute;
                    }
                }


            }

            ul {
                li {
                    float: left;
                    margin-right: 36px;
                }
            }
        }

        .g-right {
            width: 750px;
            margin-left: 20px;
            line-height: 40px;
            position: relative;

            h2 {
                font-size: 25px;
                font-weight: 900;
            }

            p {
                font-size: 14px !important;
                color: rgb(110, 110, 110);
            }

            .info {
                width: 710px;
                height: 150px;
                background-color: #F6F6F6;
                padding: 20px;
            }

            .price {
                margin-top: 10px;
                color: red;
                font-size: 35px !important;
                font-weight: bolder;
                float: right;
            }

            button {
                top: 350px;
                right: 0px;
                width: 150px;
                height: 50px;
                font-size: 18px;
                background: rgb(223, 53, 53);
                border: 0px solid #000;
                border-radius: 10px;
                display: block;
                float: right;

                &:hover {
                    background: rgb(221, 39, 39);
                    color: white;
                    font-size: 20px;
                }
            }
        }

    }

    .bottom {
        background: #fff;
        padding-top: 20px;
        padding-bottom: 20px;

        li {
            width: 790px;
            margin: 0 auto;
            margin-bottom: 20px;

            img {
                width: 790px;
                height: 790px;
            }
        }
    }

}

//返回顶部
#return {
    position: fixed;
    top: 50%;
    right: 50px;
    margin: -30px;
    border-radius: 30px;
    height: 45px;
    width: 60px;
    background: #fee44e;
    z-index: 5;
    text-align: center;
    padding-top: 15px;
    color: #fff;
}